package com.movitech.mobile.cz.base.modules.config;

/**
 * 供方管理流程提交按钮类型枚举
 * @author Jack.Gong
 * @since 2018-03-08
 *
 */
public enum ActionTypeEnum {

	//资质考察
	BACK_MODIFY("退回修改", 1),
	UNPASS_INSPECTION("审查不通过", 2),
	PASS_INSPECTION("审查通过", 3),
	//现场考察
	SKIP_SITE_INSPECTION("跳过现场考察", 4),
	APPLY_SITE_INSPECTION("发起现场考察申请",5),
	LEADER_COMMIT("组长打分提交", 50),
	TEAM_MEMBER_COMMIT("组员会签提交", 51),
	AGREE_SITE_INSPECTION("同意现场考察", 52),
	REFUSE_SITE_INSPECTION("拒绝现场考察", 53),
	TURN_TO_PENDING_WATCH("转为待观察", 6),
	UNPASS_SITE_INSPECTION("考察不通过", 7),
	PASS_SITE_INSPECTION("考察通过", 8),
	//入库审批
	LAUNCH_STORE_APPROVE("发起入库审批", 9),
	//引入
	IMPORT("引入", 10),
	//MBS审批流对接返回状态
	PASSS_AUDIT("审批通过", 11),
	UNPASS_AUDIT("审批不通过", 12),
	//变更审核
	REFUSE_ALTERATION("变更审核不通过", 13),
	PASS_ALTERATION("变更审核通过", 14),

	TURN_TO_UNQUALIFIED("转为不合格", 15),
	TURN_TO_POTENTIAL("转为潜在", 16),
	TURN_TO_BLACK_LIBRARY("转为黑库", 17),


	//审批状态("N", "编制中";"ONFLOW", "审批中";"PASS", "审批通过待备案";"FAIL", "审批未通过";"FILED", "已备案";"BACK", "退回";"ABORT", "终止";"ISSUED", "已发布公告")
	MBS_AUDIT_STATUS_N("编制中",200),
	MBS_AUDIT_STATUS_ONFLOW("审批中",201),
	MBS_AUDIT_STATUS_FAIL("审批未通过",202),
	MBS_AUDIT_STATUS_FILED("已备案",203),
	MBS_AUDIT_STATUS_BACK("退回",204),
	MBS_AUDIT_STATUS_ISSUED("已发布公告",205),
	
	SUPPLIERS_EVALUATION("供方评估(过程)", 300),
	SUPPLIERS_EVALUATION_END("供方评估(后评估)", 301),
	SUPPLIERS_EVALUATION_ENGINEERING_SCORE("供方评估(工程评估打分代办)", 302);
	
	
	private String desc;
	private int code;
	
	private ActionTypeEnum(String desc, int code){
		this.desc = desc;
		this.code = code;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}
	
}
